var path = require("path");

console.log(__dirname,__filename);

var pathStr = path.join(__dirname,"/view/index.html");
console.log(pathStr);